package value_compare.framework;

import static value_compare.framework.NotRealizedException.exception;

/**
 * @author lihao
 * @since 2019-11-03 21:47:53
 */
abstract class AbstractComparable {
    /**
     * 大于
     */
    protected boolean gt(){
        throw exception("gt");
    }
    /**
     * 大于等于
     */
    protected boolean ge(){
        throw exception("ge");
    }
    /**
     * 小于
     */
    protected boolean lt(){
        throw exception("lt");
    }
    /**
     * 小于等于
     */
    protected boolean le(){
        throw exception("le");
    }
    /**
     * 等于
     */
    protected boolean eq(){
        throw exception("eq");
    }
    /**
     * 不等于
     */
    protected boolean ne(){
        throw exception("ne");
    }
    /**
     * 部分包含
     */
    protected boolean containsAny(){
        throw exception("containsAny");
    }

    /**
     * 全部包含
     */
    protected boolean containsAll(){
        throw exception("containsAll");
    }

    /**
     * 不包含
     */
    protected boolean notContains(){
        throw exception("notContains");
    }
}
